package cn.ncupyh.Extends02;

//教研部员工
public class Teacher extends School{

    public Teacher() {
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "ID='" + ID + '\'' +
                ", name='" + name + '\'' +
                ", work='" + work + '\'' +
                '}';
    }

    public Teacher(String ID, String name, String work) {
        super(ID, name, work);
        System.out.print("教研部员工--");
    }

}
